Skip to main content

securekeyExists

Type

handler

Summary

Returns true if a securekey with the given identifier already exists.

Syntax

securekeyExists(<pIdentifier>)

Description

Returns true if a securekey with the given identifier already exists.

*NOTE
  • The Secure Key Storage library uses APIs available on iOS 10.0+, macOS 10.12+ and Android 4.3.

Parameters

NameTypeDescription

pIdentifier

A string used to identify the securekey.

Examples

if securekeyExists("foo") then
return securekeyEncrypt("foo", "bar")
end if

Compatibility and Support

OS

mac

ios

android

Platforms

desktop

mobile